package com.xunfang.demos;

import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;

/**
 * @Author lss
 * @CreateTime 2024/6/11
 * @Description
 */
@WebServlet("/user")
public class UserServlet extends BaseServlet {



    public void query(HttpServletRequest req, HttpServletResponse resp) {

        System.out.println("查询");
    }

    public void update(HttpServletRequest req, HttpServletResponse resp) {
        System.out.println("修改");
    }

    public void delete(HttpServletRequest req, HttpServletResponse resp) {
        System.out.println("删除");
    }

    public void insert(HttpServletRequest req, HttpServletResponse resp) {
        System.out.println("添加");
    }
}
